[. . . ] 6F3B0253 UM-TS01-E031
PROGRAMMABLE CONTROLLER
PROSEC
T1- 16S
USER'S MANUAL - Basic Hardware and Function -
TOSHIBA CORPORATION
6F3B0253
Important Information
Misuse of this equipment can result in property damage or human injury. Because controlled system applications vary widely, you should satisfy yourself as to the acceptability of this equipment for your intended purpose. In no event will Toshiba Corporation be responsible or liable for either indirect or consequential damage or injury that may result from the use of this equipment. No patent liability is assumed by Toshiba Corporation with respect to use of information, illustrations, circuits, equipment or examples of application in this publication. [. . . ] If RW08 is 300, the data of D0300 is stored in YW10.
136
T1-16S User's Manual
6F3B0253
7. Instructions FUN 019
Expression
Input -[ A+1A MOV B+1B ]- Output
DMOV
Double-word data transfer
Function
When the input is ON, the double-word (32-bit) data of A+1A is stored in double-word register B+1B. The data range is -2147483648 to 2147483647.
Execution condition
Input OFF ON Operation No execution Execution Output OFF ON
Operand
Name X A Source B Destination Y Device R S T. XW YW RW SW T C D Constant Index I J K
Example
When R011 is ON, a double-word data of D0101D0100 is stored in RW17RW16 and the output is turned ON. If D0101D0100 is 1234567, the data 1234567 is stored in RW17RW16.
Basic Hardware and Function
137
6F3B0253
7. Instructions FUN 020
Expression
Input -[ A NOT B ]- Output
NOT
Invert transfer
Function
When the input is ON, the bit-inverted data of A is stored in B.
Execution condition
Input OFF ON Operation No execution Execution Output OFF ON
Operand
Name X A Source B Destination Y Device R S T. XW YW RW SW T C D Constant Index I J K
Example
When R010 is ON, the bit-inverted data of RW30 is stored in D0200 and the output is turned ON. If RW30 is H4321, the bit-inverted data (HBCDE) is stored in D0200.
F E D C B A 9 8 7 6 5 4 3 2 1 0
RW30
0100001100100001 4 3 2 Bit-invert 1
F
E
D
C
B
A
9
8
7
6
5
4
3
2
1
0
D0200
1011110011011110 B C D E
138
T1-16S User's Manual
6F3B0253
7. Instructions FUN 022
Expression
Input -[ A XCHG B ]- Output
XCHG
Data exchange
Function
When the input is ON, the data of A and the data of B is exchanged.
Execution condition
Input OFF ON Operation No execution Execution Output OFF ON
Operand
Name X A Operation data B Operation data Y Device R S T. XW YW RW SW T C D Constant Index I J K
Example
When R005 is ON, the data of RW23 and D0100 is exchanged. If the original data of RW23 is 23456 and that of D0100 is 291, the operation result is as follows. RW23 D0100 23456 291 RW23 D0100 291 23456
Before operation
After operation
Basic Hardware and Function
139
6F3B0253
7. Instructions FUN 024
Expression
Input -[ A TINZ (n) B ]- Output
TINZ
Table initialize
Function
When the input is ON, the data of A is stored in n registers starting with B. The allowable range of the table size n is 1 to 1024 words.
Execution condition
Input OFF ON Operation No execution Execution Output OFF ON
Operand
Name X A Source n Table size B Start of destination Y Device R S T. XW YW RW SW T C D Constant Index I J K 1 - 1024
Example
When R010 is ON, a constant data (0) is stored in 100 registers starting with D0200 (D0200 to D0299) and the output is turned ON. Constant 0 D0200 D0201 D0202 0 0 0
100 registers
D0299
0
140
T1-16S User's Manual
6F3B0253
7. Instructions FUN 025
Expression
Input -[ A TMOV (n) B ]- Output
TMOV
Table transfer
Function
When the input is ON, the data of n registers starting with A are transferred to n registers starting with B in a block. The allowable range of the table size n is 1 to 1024 words.
Execution condition
Input OFF ON Operation No execution Execution Output OFF ON
Operand
Name X A Start of source n Table size B Start of destination Y Device R S T. XW YW RW SW T C D Constant Index I J K 1 - 1024
Example
When R010 is ON, the data of D0500 to D0509 (10 registers) are block transferred to D1000 to D1009, and the output is turned ON. D0500 D0501 D0502 1111 2222 3333 D1000 D1001 D1002 1111 2222 3333
Block transfer
10 registers
D0509
12345
D1009
12345
Note
· The source and destination tables can be overlapped.
Basic Hardware and Function
141
6F3B0253
7. Instructions FUN 026
Expression
Input -[ A TNOT (n) B ]- Output
TNOT
Table invert transfer
Function
When the input is ON, the data of n registers starting with A are bit-inverted and transferred to n registers starting with B in a block. The allowable range of the table size n is 1 to 1024 words.
Execution condition
Input OFF ON Operation No execution Execution Output OFF ON
Operand
Name X A Start of source n Table size B Start of destination Y Device R S T. [. . . ] A function instruction which is not supported type in the by the T1-16S is programmed. Program A basic ladder instruction which is not type supported by the T1-16S is programmed. (Error down) Reload the program and execute EEPROM write operation again. Program Address A FOR-NEXT loop is programmed inside type in the other FOR-NEXT loop. [. . . ]